package com.geniusk.system.model.bo.passport;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Pattern;

/**
 * 手机号BO
 */
@Data
public class MobileBO {

    /**
     * 手机号
     */
    @NotBlank(message = "手机号不能为空")
    @Pattern(regexp = "^1\\d{10}$", message = "手机号不正确")
    private String phoneNumber;
}
